/*
 * @Author: qiuz
 * @Date: 2018-04-13 20:21:26
 * */

/**
 * @function
 * @description 判断是否是对象 Array返回false
 * @param {*} arg
 * @example
 * isObject([1,2]) // return false
 *
 * isObject({a:1}) // return true
 *
 * @returns {Boolean}
 */
function isObject(arg) {
	return Object.prototype.toString.call(arg) === '[object Object]';
}

export default isObject;
